import request from "../api/request";
export async function PostMessage(mesInfo) {
    return await request.post('/api/message', mesInfo)
}

export async function getMessage(keyword, page = 1, limit = 10) {
    return await request.get('/api/message', {
        params: {
            page,
            limit,
            keyword,
        }
    })
}